package com.xx.dao.impl;

import com.xx.dao.OrderDao;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Repository;

@Repository("orderNewDao")
public class OderNewDaoImpl implements OrderDao {

    //获取配置文件中的数据
    @Value("${newName}")
    String newName;
    @Value("${newMoney}")
    String newMoney;
    @Value("${color}")
    String color;

    @Override
    public void showOrderDetail() {
        System.out.println(newName + "   "+newMoney+"   "+color);
    }
}
